﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<Excell_On_Services.ViewModels.EmployeeModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Details</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">EmployeeID</div>
        <div class="display-field"><%: Model.EmployeeID %></div>
        
        <div class="display-label">username</div>
        <div class="display-field"><%: Model.username %></div>
        
        <div class="display-label">FullName</div>
        <div class="display-field"><%: Model.FullName %></div>
        
        <div class="display-label">Email</div>
        <div class="display-field"><%: Model.Email %></div>
        
        <div class="display-label">Address</div>
        <div class="display-field"><%: Model.Address %></div>
        
        <div class="display-label">BirthDate</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.BirthDate) %></div>
        
        <div class="display-label">Sex</div>
        <div class="display-field"><%: Model.Sex %></div>
        
        <div class="display-label">IsLock</div>
        <div class="display-field"><%: Model.IsLock %></div>
        
        <div class="display-label">Phone</div>
        <div class="display-field"><%: Model.Phone %></div>
        
        <div class="display-label">Notes</div>
        <div class="display-field"><%: Model.Notes %></div>
       
        <div class="display-label">DepartmentID</div>
        <div class="display-field"><%: Model.DepartmentID %></div>
        
    </fieldset>
    <p>
        <%: Html.ActionLink("Edit", "Edit", new { id = Model.EmployeeID })%> |
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

